<%@ tag language="java" pageEncoding="UTF-8" body-content="empty" trimDirectiveWhitespaces="true"%>
<%@ attribute name="id" type="java.lang.String" required="true" description="id" %>
<%@ attribute name="dropValues" type="java.lang.String" required="true" description="取值"%>
<%@ attribute name="name" type="java.lang.String" required="false" description="定义select的name属性"%>
<%@ attribute name="className" type="java.lang.String" required="false" description="定义select的class属性"%>
<%@ attribute name="showSelectAll" type="java.lang.Boolean" required="false" description="是否显示选择所有选项，默认false"%>
<%@ attribute name="showSelectName" type="java.lang.String" required="false" description="选择所有选项的名称，默认为'全部'，设置此选项需先设置showSelectAll为'true'"%>
<%@ attribute name="showSelectValue" type="java.lang.String" required="false" description="选择所有选项的值，默认为空，设置此选项需先设置showSelectAll为'true'"%>
<%@ attribute name="defaultValue" type="java.lang.String" required="false" description="默认值"%>
<%@ attribute name="readonly" type="java.lang.Boolean" required="false" description="是否禁用输入"%>
<%@ attribute name="onValueChanged" type="java.lang.String" required="false" description="选择下拉框触发的事件，onValueChanged(ele)"%>	
<%@ attribute name="textDefine" type="java.lang.String" required="false" description="textDefine，默认codeInfoName"%>	
<%@ attribute name="valueDefine" type="java.lang.String" required="false" description="valueDefine，默认codeInfoValue"%>	
<%@ attribute name="handleRowData" type="java.lang.String" required="false" description="操作每一行数据，函数 function(text, item)"%>	
<%@ attribute name="ext1AsDefault" type="java.lang.String" required="false" description="码表中，将ext1作为默认值"%>	

<div id='${id}' data-tag='dropList'></div>
<script type="text/javascript">
(function(){
	window.TagSupport.dropValues({
		'id':'${id}', 'dropValues':'${dropValues}', 'name':"${name}", 'className':'${className}', 
		'showSelectAll':"${showSelectAll}", 'showSelectName':"${showSelectName}", 'showSelectValue':"${showSelectValue}", 
		'readonly':"${readonly}", 'onValueChanged':"${onValueChanged}","defaultValue":"${defaultValue}", "textDefine":"${textDefine}",
		"valueDefine":"${valueDefine}", 'handleRowData':"${handleRowData}", 'ext1AsDefault':"${ext1AsDefault}"
	});
})();

</script>





